﻿using Grand.Business.Core.Utilities.Authentication;
using Grand.Domain.Customers;
using Grand.Domain.Localization;

namespace Grand.Business.Core.Interfaces.Authentication;

public interface ISMSVerificationService
{
    Task<bool> Authenticate(string secretKey, string token, Customer customer);
    Task<TwoFactorCodeSetup> GenerateCode(string secretKey, Customer customer, Language language);
}